<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>choose</title>
</head>
<body>
	<form action="choose.jsp" method="get">
		<input type="text" name="score" value="${param.score}">
		<input type="submit">
	</form>
	
	<c:choose>
		<c:when test="${param.score >= 90}">
			<c:out value="成绩优秀"></c:out>
		</c:when>
		
		<c:when test="${param.score < 90 && param.score >= 70}">
			<c:out value="成绩良好"></c:out>
		</c:when>
		
		<c:when test="${param.score >= 60 && param.score < 70}">
			<c:out value="成绩中等"></c:out>
		</c:when>
		
		<c:when test="${param.score >= 0 && param.score < 60}">
			<c:out value="不及格"></c:out>
		</c:when>
		
		<c:otherwise>
			<c:out value="输入有误"></c:out>
		</c:otherwise>
		
	</c:choose>

</body>
</html>



